package com.wtwd.campus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.wtwd.campus.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author zdl
 * @since 2021-07-09
 */
@ApiModel(value="Teacher对象", description="")
public class Teacher extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "教师类型 1-班主任,2-授课老师")
    private Integer type;

    @ApiModelProperty(value = "管理班级的年级")
    private Integer manageClassGrade;

    @ApiModelProperty(value = "管理班级")
    private Integer manageClass;

    @ApiModelProperty(value = "手机电话")
    private String phone;

    @ApiModelProperty(value = "授课班级")
    private String teachClass;

    @ApiModelProperty(value = "授课班级的年级")
    private String teachClassGrade;

    @ApiModelProperty(value = "所属学校")
    private Integer schoolId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getManageClassGrade() {
        return manageClassGrade;
    }

    public void setManageClassGrade(Integer manageClassGrade) {
        this.manageClassGrade = manageClassGrade;
    }

    public Integer getManageClass() {
        return manageClass;
    }

    public void setManageClass(Integer manageClass) {
        this.manageClass = manageClass;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getTeachClass() {
        return teachClass;
    }

    public void setTeachClass(String teachClass) {
        this.teachClass = teachClass;
    }

    public String getTeachClassGrade() {
        return teachClassGrade;
    }

    public void setTeachClassGrade(String teachClassGrade) {
        this.teachClassGrade = teachClassGrade;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    @Override
    public String toString() {
        return "Teacher{" +
        "id=" + id +
        ", name=" + name +
        ", type=" + type +
        ", manageClassGrade=" + manageClassGrade +
        ", manageClass=" + manageClass +
        ", phone=" + phone +
        ", teachClass=" + teachClass +
        ", teachClassGrade=" + teachClassGrade +
        ", schoolId=" + schoolId +
        "}";
    }
}
